from selenium import webdriver

driver = webdriver.Chrome()
cookie = [
{
    "domain": ".zhipin.com",
    "expirationDate": 1878186402,
    "hostOnly": False,
    "httpOnly": False,
    "name": "__a",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": False,
    "storeId": "0",
    "value": "37632575.1562814392.1562816206.1562819899.25.3.8.25",
    "id": 1
},
{
    "domain": ".zhipin.com",
    "hostOnly": False,
    "httpOnly": False,
    "name": "__c",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": True,
    "storeId": "0",
    "value": "1562819899",
    "id": 2
},
{
    "domain": ".zhipin.com",
    "hostOnly": False,
    "httpOnly": False,
    "name": "__g",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": True,
    "storeId": "0",
    "value": "-",
    "id": 3
},
{
    "domain": ".zhipin.com",
    "hostOnly": False,
    "httpOnly": False,
    "name": "__l",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": True,
    "storeId": "0",
    "value": "l=%2Fwww.zhipin.com%2Fjob_detail%2F%3Fquery%3Dpython%26city%3D101270100&r=",
    "id": 4
},
{
    "domain": ".zhipin.com",
    "hostOnly": False,
    "httpOnly": True,
    "name": "Hm_lpvt_194df3105ad7148dcf2b98a91b5e727a",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": True,
    "storeId": "0",
    "value": "1562826403",
    "id": 5
},
{
    "domain": ".zhipin.com",
    "expirationDate": 1594362402,
    "hostOnly": False,
    "httpOnly": False,
    "name": "Hm_lvt_194df3105ad7148dcf2b98a91b5e727a",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": False,
    "storeId": "0",
    "value": "1562814392,1562816206,1562819900",
    "id": 6
},
{
    "domain": ".zhipin.com",
    "expirationDate": 1594350389.850148,
    "hostOnly": False,
    "httpOnly": False,
    "name": "lastCity",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": False,
    "storeId": "0",
    "value": "101270100",
    "id": 7
},
{
    "domain": ".zhipin.com",
    "expirationDate": 1563419537.367906,
    "hostOnly": False,
    "httpOnly": False,
    "name": "t",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": False,
    "storeId": "0",
    "value": "7GrvUNz7nh58Nlvh",
    "id": 8
},
{
    "domain": ".zhipin.com",
    "expirationDate": 1563419537.368007,
    "hostOnly": False,
    "httpOnly": False,
    "name": "wt",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": False,
    "storeId": "0",
    "value": "7GrvUNz7nh58Nlvh",
    "id": 9
},
{
    "domain": "www.zhipin.com",
    "expirationDate": 1878174392,
    "hostOnly": True,
    "httpOnly": False,
    "name": "_uab_collina",
    "path": "/",
    "sameSite": "no_restriction",
    "secure": False,
    "session": False,
    "storeId": "0",
    "value": "156281439260042264900392",
    "id": 10
}
]
for ck in cookie:
    driver.add_cookie(ck)
    break

driver.get('https://www.zhipin.com/')
driver.add_cookie(cookie[0])
driver.get('https://www.zhipin.com/job_detail/?query=python&city=101270100')
driver.close()




